package com.peoit.honeycomb.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.peoit.honeycomb.application.FinanceReportApplication;

@Controller
@RequestMapping("/admin/finance")
public class FinanceReportController extends HoneycombBaseController {
	@Autowired
	FinanceReportApplication financeReportApplication;

	@RequestMapping("/list")
	public ModelAndView listFinanceReport(String projectId) {
		return view("/jsp/project/projectFinanceReport", financeReportApplication.getProjectFinanceReport(projectId));
	}
}
